<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>16110100521</title>
	<style>
/*CSS选择器selecotr*/
		#box{
			width: 400px;
			height:400px;
			background-color: #ccc;
		    }
/*	1.	id选择器，只能使用一次*/
		h2{
			background-color: #BAF1BA;
			color: #fff
		}
/*	2.	标签选择器，对网页中所有该标签都生效*/
		.red{ color:red}
/*	3.	类选择器，class selecter,对使用class起作用*/
		
		.blue{color: #2406F3;}
		.green{color: #EF0CA0;}
		.ll{color: #047B03;}		
	</style>
</head>

<body>
	<div id="box">
	     <h2><span class="red">CSS</span>
			 <span class="blue">选</span>
			 <span class="green">择</span>
			 <span class="ll">器</span>
		</h2>		
	</div>
</body>
</html>
